<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include  file="/jsps/common/taglibs.jsp" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title></title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
      <div class="title">
          <h3>添加商品</h3>
      </div>
      <hr/>
      <div class="wrapper">
          <form class="content_form" action="<c:url value="goodsMgr"/>" method="post" enctype="multipart/form-data">
              <input type="hidden" name="act" value="add"/>
              <div class="wrapper_div">
                  <span>请选择类别:</span>
                  <select class="main_select" name="ctg_no">
                      <option value="0">=请选择=</option>
                      <c:forEach items="${categoryList}" var="category">
                        <option value="${category.categoryNo}">${category.categoryName}</option>
                      </c:forEach>
                  </select>
              </div>
              <div class="wrapper_div">
                  <span>输入商品编号:</span>
                  <input type="text" name="goods_no"/>
              </div>
              <div class="wrapper_div">
                  <span>输入商品名称:</span>
                  <input type="text" name="goods_name"/>
              </div>
              <div class="wrapper_div">
                  <span>输入商品单价:</span>
                  <input type="text" name="goods_price"/>
              </div>
              <div class="wrapper_div">
                  <span>输入商品数量:</span>
                  <input type="text" name="goods_num"/>
              </div>
              <div class="wrapper_div">
                  <span>输入商品图片:</span>
                  <input type="file" name="goods_pic"/>
              </div>
              <div class="wrapper_div">
                  <span>输入商品描述:</span>
                  <textarea rows="8" cols="60" name="goods_memo"></textarea>
              </div>
              <div class="wrapper_div">
                  <input type="submit" value="提交"/> 
                  <input type="reset" value="重置"/>
              </div>
          </form>
      </div>
  </body>
</html>
